package com.yao.sample.po;

import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.NamedQueries;
import javax.persistence.NamedQuery;
import javax.persistence.PrePersist;

@Entity
@NamedQueries({
	@NamedQuery(name="SimpleMean.list",query="select s from SimpleMean s")
})
public class SimpleMean extends Mean {
	
	private Date created;
	
	@PrePersist
	public void create() {
		created = new Date();
	}

	public Date getCreated() {
		return created;
	}

	public void setCreated(Date created) {
		this.created = created;
	}
	
	
}
